package com.example.demo.mapper.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name="coupons_view")
public class CouponsView {
    private int couponsId;
    private int advertiserId;
    private String couponsName;
    private int couponsType;
    //优惠券说明
    private String description;
    //使用条件
    private String condition;
    private Double value;
    private Double minimumAmount;
    private String productName;
    private String startDate;
    private String endDate;
    private String createdAt;
    private String updatedAt;
    private int state;
    private String companyName;
    private String contactName;
    private String website;
    private int userId;
    private String userName;
    private String userPhone;
    private String userEmail;
    private String productImageUrl;
    @ApiModelProperty("当前页码")
    private Integer pageNum;
    @ApiModelProperty("页码尺寸")
    private Integer pageSize;
    private Boolean openState;
    private Boolean editState;

}
